package com.jjy.dao;

import com.jjy.pojo.Goods;
import com.jjy.pojo.Order;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDao {
  Order getOrderById(int id);
  List<Order> getOrderByNo(int number);
  List<Order> getAllOrder();
  List<Order> getOrderByParams(Order order);
  int createOrder(Order order);
  int updateOrder(Order order);
  Long getMaxOrderNo();
}
